package observer;/** * Created by Administrator on 2018-10-18. */public class Test {    public static void main(String[] args) {        WeatherData weatherData = new WeatherData();//新建weatherData 对象        CurrentConditionsDisplay currentConditionsDisplay = new CurrentConditionsDisplay(weatherData);//构建布告板        weatherData.setMeasurements(80,65,30.4f);//模拟气象测量        System.out.println();    }}